#ifndef GAME_PARAMETERS_H
#define GAME_PARAMETERS_H

#include <iostream>
using namespace std;

class GameParameters
{
	public:
		static double gravity;
		static double angle;	//mouse sensity
	
		static double cubeAngle;
		static double groundLevel;
		static double levelOfResettingPlayerPosition;	//level below which the player position should be reset
		static double refreshRate;
	
		static int screenWidth;
		static int screenHeight;

		static bool flyMode;			//whether player can move in y-axis (vertical axis)
		static bool applyGravity;		//whether gravity works or not
		static double maxFallingSpeed;	//maximum speed of falling

		static char opponentsPath[128];	//path to the md2 models (opponents)
		static char weaponsPath[128];	//path to the md2 models (weapons)

		static void setFlyMode(bool enabled);
		static char* getOpponentsPath(char *file);
		static char* getWeaponsPath(char *file);
		
		static double distanceToPlayerToAttack; //distance from opponents to player when they start attacking
};

#endif //GAME_PARAMETERS_H